Release 10.1A: OpenEdge Development:
Progress Dynamics Advanced Development
lookupComplete event
This event occurs on leave of the lookup (published by the procedure
leavelookupinlookup.p)and also on return from the selection of a row in the lookup browse in the procedurerowSelectedinlookup.p.lookupCompletehas the following parameters:
Table 1–2 describes the
lookupCompleteEventparameters.
To use this event, simply add a procedure to your viewer’s custom super procedure with the name
lookupCompleteand the above parameters. Then ininitializeObjectof your custom super procedure, before theRUNSUPERstatement, add the following line:
This hook is useful if you must control the updating of related fields to the lookup field whenever a new value is selected. Remember that the linked fields and widgets instance properties of the lookup can be used to automatically update related fields, so this event is only really for exceptional circumstances where perhaps specific formatting is required of the related fields. It might also be necessary to pass new or linked values on to other viewers, in which case this event could also be useful.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |